import request from "./network.js"

function createOrder(data,header) {
  return request({
    url: "/my/orders/create",
    data,
    header
  })
}

function preparePay(data, header) {
  return request({
    url: "/my/orders/req_unifiedorder",
    data,
    header
  })
}

export {
  createOrder,preparePay
}